Inside xenbus_switch_state, don't write the new state if the node has already
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Wed, 23 Nov 2005 18:47:54 +0000 (18:47 +0000)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Wed, 23 Nov 2005 18:47:54 +0000 (18:47 +0000)
commit034f2cd52e29f4af4a092d5270e3f992a751507f
tree914130374224dbeef00b138c46a89af6dd97a14b
parentd29719d23188b1051dc2cf5743a1f51b1922acea
Inside xenbus_switch_state, don't write the new state if the node has already
disappeared.  This happens when the driver is being torn down, and we don't
want to resurrect the device directory in the store because of it.

Partially addresses bug #424.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_client.c